package com.zznzzn.myweb.Properties;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
//@AllArgsConstructor
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "myweb",ignoreUnknownFields = false)
public class MyProperties {

    private String pub_key_location;
    private String priv_key_location;
    private int jwt_exp_time = 60*60*24*1000;
    private String upload_file_path;
    private String upload_file_location;
    private String avatar_dir;

}
